package com.littlebee.storychild.common.http;

import android.content.Context;

import com.android.volley.RequestQueue;
import com.android.volley.toolbox.Volley;

/**
 * created at 2016/8/4 15:02
 * description:
 */
public class RequestQueueHelper {
    private static RequestQueue _instance=null;

    private RequestQueueHelper(){
    }

    public static RequestQueue getInstance(Context ctx){
        if (_instance==null){
            _instance= Volley.newRequestQueue(ctx);
        }
        return _instance;
    }
}
